package cn.edu.scau.cmi.liyunlin.hibernate.domain;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class Teacher implements Serializable {

	private Long id;
	private String name;
	private Set students = new HashSet(0);
	private Set students_1 = new HashSet(0);
	
	/** default constructor */
	public Teacher() {
	}

	/** minimal constructor */
	public Teacher(Long id) {
		this.id = id;
	}

	/** full constructor */
	public Teacher(Long id, String name, Set students, Set students_1) {
		this.id = id;
		this.name = name;
		this.students = students;
		this.students_1 = students_1;
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Set getStudents() {
		return students;
	}
	public void setStudents(Set students) {
		this.students = students;
	}
	public Set getStudents_1() {
		return students_1;
	}
	public void setStudents_1(Set students_1) {
		this.students_1 = students_1;
	}
	
}
